import axios from '@/api/fetch';
import SERVER from '@/api/server';


// 实销审批

// 审批 /vsSalesReport/auditReportDto
export const examine = (params) => axios.get(`${SERVER.WHOLESALES}/actualSalesDetailAlteration/updateStatusAuditOpinion`, {
    params
  })
// GET 查询详情  /vsSalesReport/searchRetailOrderReportDataById
export const getInfoById = params =>
  axios.get(`${SERVER.WHOLESALES}/actualSalesDetailAlteration/detailQuery?actualSalesId=${params.actualSalesId}&auditId=${params.auditId}&isSignboard=${params.isSignboard}`);

// 列表查询 /vsSalesReport/searchRetailReportDataForAudit
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/actualSalesDetailAlteration/alterationInfoQueryList`, params)


